﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Boggle;
using System.Threading;

namespace WebServerConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            WebServer server = new WebServer();

            try
            {
                Thread t1 = new Thread(new ThreadStart(() => server.Start()));
                t1.Start();

                Console.ReadLine();
            }
            catch (Exception)
            {

            }
            finally
            {
                server.Stop();
            }
        }
    }
}
